package com.ryder.petmatediarybackend.module.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 描述: 刷新 Token DTO
 *
 * @author Ryder
 * @version 1.0
 * @since 1.0
 * 更新日期: 2025/10/27
 */
@Data
@Schema(description = "刷新 Token 请求")
public class RefreshTokenDTO {

    @NotBlank(message = "Refresh Token 不能为空")
    @Schema(description = "Refresh Token", example = "xxx")
    private String refreshToken;

    @NotBlank(message = "设备类型不能为空")
    @Schema(description = "设备类型（WEB/APP/MINI）", example = "WEB")
    private String deviceType;
}
